<?php

namespace app\common\model\User;

use think\Model;

class Code extends Model
{
    protected $name = 'business_code';

    //开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    //定义时间戳字段名
    protected $createTime = 'createtime';

    //关闭自动更新时间戳
    protected $updateTime = false;

    //开启过滤
    protected $field = true;
}
